<!—循环语句的操作-- >
<HTML>

	<HEAD>
		<TITLE></TITLE>
	</HEAD>

	<BODY>
		<script language="javascript">
			good = new Array(1, 2, 3, 4, 5, 6, 7, 8, 9);
			sum = 0;
			for(i = 0; i < good.length; i++)
				sum += good[i];
			document.write(sum); 
			document.write("<br>");
			for(k = 1; k < 100; k++) {
				document.write(k + "&nbsp;");
				if(k % 99 == 0)
					break;
			}
		</script>
	</BODY>

</HTML>